class Foo<T> extends mixin(Bar) { }